package org.springblade.modules.ehb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springblade.modules.ehb.vo.EhbPolicyVO;
import org.springblade.modules.ehb.vo.EhbRelatedPolicyVO;
import org.springblade.modules.policy.entity.Policy;

import java.util.List;

public interface EhbPolicyMapper extends BaseMapper<Policy> {

	List<EhbPolicyVO> selectPolicyPage(Integer policyType, Long levelId, Character industryType, String policyName, IPage<EhbPolicyVO> page);

	List<EhbPolicyVO> selectPushPolicyPage(Boolean isPrecisePush, String enterpriseSpecial, IPage<EhbPolicyVO> page);

	EhbPolicyVO getById(Long id);

	Integer countPolicy();

	List<EhbRelatedPolicyVO> selectRelatedPolicy(String policyIds);
}
